<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <html xml:lang="zh-cn" lang="zh-cn">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta http-equiv='content-language' content='zh_CN'>
    <title>{$info.title} - {$config.system_name}</title>
    <meta name="keywords" content="{$config.index_keywords}"/>
    <meta name="description" content="{$info.description|raw}"/>
    <link rel="canonical" href="{$config.microblog}{$info.IdUrl}">
    <link rel="canonical" href="">
    <meta name='robots' content='max-image-preview:large'>
{include file="common:columncss" /}
</head>
{include file="common:header" /}
    <div class="progress" id="page-read-progress">
        <div class="progress-bar progress-bar-striped progress-bar-animated" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" role="progressbar"></div>
    </div>
    <div id="post" class="container mt20">
        <!--全局上方-->
        <div id="breadcrumb" class="">
            <nav aria-label="breadcrumb">
                <ol class="breadcrumb">
                    <li class="breadcrumb-item"><a class="a-link" href="../">首页</a></li>
                    <li class="breadcrumb-item"><a class="a-link" href="{$info.CidUrl}">{$info.currentName}</a></li>
                    <li class="breadcrumb-item"><a class="a-link" href="{$info.IdUrl}">{$info.title}</a></li>
                    <li class="breadcrumb-item active " aria-current="page">正文</li>
                </ol>
            </nav>
        </div>
        <!--内页上方-->
        <div class="row row-cols-1 post-row">
            <div id="post-main" class="{eq name="$config['hide_global_sidebar']" value="on"}col-lg-8{else/}col-lg-12{/eq} col-md-12 {eq name="$config['page_animate']" value="on"} animated fadeInLeft {/eq}">
                <div class="p-block">
                    <div><h1 id="post-title" class="mb-0 puock-text t-xxl">{$info.title}</h1></div>
                    <div class="options p-flex-sbc mt20">
                        <div>
                            {eq name="$config['hide_post_views']" value="on"}<div class="option puock-bg ta3 t-sm mr-1">
                                <i class="layui-icon layui-icon-eyes mr-1"></i><span id="post-views">{$info.clicks}</span><span>次阅读</span>
                            </div>{/eq}
                            {eq name="$config['system_message']" value="off"}{else/}<a href="#comments">
                                    <div class="option puock-bg ta3 t-sm mr-1">{egt name="$count" value="1"}<i class="layui-icon layui-icon-reply-fill mr-1"></i>{$count|raw} 条评论{else/}<i class="layui-icon layui-icon-reply-fill mr-1"></i>当前文章暂无评论，快来评论吧！{/egt}</div>
                                </a>{/eq}
                        </div>
                        <div>
                            <div class="option puock-bg ta3 t-sm mr-1 d-none d-lg-inline-block post-main-size"><i class="layui-icon layui-icon-up-right"></i></div>
                        </div>
                    </div>
                    <div class="mt20 entry-content-box">
                        <div class="entry-content content-main puock-text p-indent {eq name="$config['post_content_indent']" value="on"}p-content-indent{/eq}">
                            <a href="{$info.thumb}" rel="attachment" class="fancybox" target="_blank">
                                </a>{eq name="$info.topped" value="1"}<div class="show-pgood"></div>{/eq}{eq name="$info.recommended" value="1"}<div class="show-recommended"></div>{/eq}
                                <p>{$info.description|raw}</p>{$info.contents|raw}
                        </div>
                        <div class="t-separator c-sub t-sm mt30">正文结束</div>
                        <div class="footer-info puock-text mt20">
                            <div class="mt20 tags">
                                <?php $arr=explode(',', $info['keywords']);
                                    foreach ($arr as $k=>$v) {
                                        echo "<a href='".($config['microblog'])."/search.html?keyword=$v' class='pk-badge pk-badge-sm mr5 mb10'><i class='layui-icon layui-icon-note' style='font-size:14px;'></i> $v</a>";
                                }?> 
                            </div>
                            <div class="p-flex-sbc mt20 t-sm">
                                <div>
                                    <span>文章来自：</span><a class=" mr5" href="../">{$info.source} </a>
                                </div>
                                <div>
                                    <span class="c-sub"><i class="layui-icon layui-icon-time" style="font-size:14px;"></i> {$info.create_time|date='m-d-Y H:i A'}</span>
                                </div>
                            </div>
                        </div>
                    </div>
{include file="common:news_show_share" /}
                </div>
{eq name="$config['page_copy_right']" value="on"}{include file="common:news_show_bold" /}{/eq}
                <!--内页中-->
{eq name="$config['page_b_recommend']" value="on"}{include file="common:news_show_relevant" /}{/eq} 
{include file="common:news_show_page" /}
                <!--评论上方-->
                {eq name="$config['system_message']" value="off"}<div class="p-block">
                        <div class="mt20 puock-text entry-content">
                            <div class="alert alert-danger"> <i class='layui-icon layui-icon-shield mr-1'></i>本站已关闭评论、互动功能！</div>
                        </div>
                    </div>
                    {else/}
                <div class="p-block">
                    <div class="mt20 puock-text entry-content">
                        <div class="alert alert-danger"> <i class='layui-icon layui-icon-shield mr-1'></i>网络信息过于复杂，请勿相信任何非认证用户的评论或者留言，请认准认证(<span class="renz-V" lay-tips="站长"></span>)图标</div>
                        <div>为了能及时反馈您的问题，请您留下真实的邮箱地址或QQ号以便我们能第一时间联系您！<br /><font color=#ff0000>本站已启用违法违规关键词屏蔽及黑名单系统，评论不易，且行且珍惜！</font></div>
                    </div>
                </div>
                <div class="p-block" id="comments">
                    <div>
                        <span class="t-lg border-bottom border-primary puock-text pb-2"><i class="layui-icon layui-icon-survey mr-1"></i>留言/评论 (*为必填项)</span>
                    </div>
                    <div class="mt20 clearfix" id="comment-form-box">
                        <form class="mt10" id="comment-form" method="post" action="{$config.microblog}/index/messages/add.html">
                            <input type="text" hidden="" name="pid" value="{$info.id}">
{include file="common:message" /}
                        </form>
                    </div>
                    <div id="comment-ajax-load" class="text-center mt20 d-none">
                        <div class="spinner-grow text-primary" role="status">
                            <span class="sr-only">载入中...</span>
                        </div>
                    </div>
                    <div id="post-comments">
    {include file="common:message_hot" /}
                        <div class="mt20 p-flex-s-right" data-no-instant="">
                            <ul class="pagination comment-ajax-load">
                                {$page|raw}
                            </ul>
                        </div>
                    </div>
                </div>{/eq}
            </div>
{eq name="$config['hide_global_sidebar']" value="on"}{include file="common:hot" /}{/eq}
        </div>
        <!--全局下方-->
    </div>
{eq name="$config['system_message']" value="on"}{include file="common:emoji" /}{/eq}
{include file="common:news_show_menus" /}
{include file="common:footer" /}
{include file="common:columnjs" /}
</body>
</html>